import type { AppRouteModule } from '@/router/types';

import { LAYOUT } from '@/router/constant';

const eleven: AppRouteModule = {
  path: '/eleven',
  name: 'Eleven',
  component: LAYOUT,
  redirect: '/ten/directionalLight',
  meta: {
    orderNo: 11,
    icon: 'tabler:number-11-small',
    title: '光源和阴影',
  },
  children: [
    {
      path: 'directionalLight',
      name: 'DirectionalLight',
      component: () => import('@/views/three/eleven/directionalLight.vue'),
      meta: {
        title: '平行光阴影计算',
      },
    },
    {
      path: 'directionalLightShadow',
      name: 'DirectionalLightShadow',
      component: () => import('@/views/three/eleven/directionalLightShadow.vue'),
      meta: {
        title: '平行光阴影计算二',
      },
    },
  ],
};

export default eleven;
